package com.kkb.service;

import com.kkb.domain.AjaxResult;
import com.kkb.pojo.TbBusiness;

import java.util.List;

public interface TbBusinessService {
    /**
     * 商户列表
     * @return 商品分类
     */
    List<TbBusiness> getCommodity();

    /**
     * 新增商户列表
     */
    int insertTbBusiness(TbBusiness tbBusiness);

    /**
     * 删除商户列表
     */
    int  deleteCommodityById(Integer businessId);
    /**
     * 修改商户列表
     */
    int  editCommodityById(Integer businessId);

    TbBusiness SelectCommodityById(Integer businessId);

    int updateCommodity(TbBusiness tbBusiness);
}
